package com.emaimed.search.mapper;

import com.emaimed.search.pojo.EmaimedSms;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmaimedSmsMapper {


    int deleteByPrimaryKey(Integer id);

    int insert(EmaimedSms record);

    int insertSelective(EmaimedSms record);
    //查询
    EmaimedSms selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EmaimedSms record);

    int updateByPrimaryKey(EmaimedSms record);

    /***
     * 查询所有数据
     * @return
     */
    List<EmaimedSms> selectAll();
}